package com.cn.hnust.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.apache.ibatis.annotations.Param;
import org.springframework.ui.Model;

import com.cn.hnust.pojo.Scenic;
import com.cn.hnust.pojo.User;
import com.cn.hnust.util.Page;

public interface IScenicService {

	public Scenic getUserById(Integer userId) throws Exception;

	public List<Scenic> getUsers();

	public Scenic getUser(int id);

	public int insert(Scenic user);
	
	public List<Scenic> getScenic_dq(String scenic_dq);

	public int delscenic(Integer id);

	public List<Scenic> selectPersons(String scenic_name,Page page);

	public List<Scenic> queryAllRecord(Page page);

	public int getCount();
	
	public int updateByPrimaryKey(Scenic record);
	
	public int getCountmh(String scenic_name);
	
	public List<Scenic> queryReception();

}
